import request from "../utils/request";

/**
 *
 * @param {查询系统} params
 * @returns
 */
export function getSystemList(params) {
    return request({
        url: "/heatSystem/listHeatSystem",
        method: "post",
        params,
    });
}

/**
 *
 * @param {添加系统} params
 * @returns
 */
export function editSystemList(params) {
    return request({
        url: "/heatSystem/updateHeatSystem",
        method: "post",
        params,
    });
}

/**
 *
 * @param {编辑系统} params
 * @returns
 */
export function addSystemList(params) {
    return request({
        url: "/heatSystem/addHeatSystem",
        method: "post",
        params,
    });
}

/**
 *
 * @param {删除系统} params
 * @returns
 */
export function delSystemList(params) {
    return request({
        url: "/heatSystem/delHeatSystem",
        method: "post",
        params,
    });
}